/* =========================
   VARIABLES & RESET
   Doel: globale kleuren/waarden + basis gedrag
   ========================= */
:root{
  --paper:#f8f6f3;                 /* achtergrondkleur (papier) */
  --ink:#1a1814;                   /* hoofdtekstkleur (inkt) */
  --muted: rgba(26,24,20,0.72);    /* zachtere tekstkleur */
  --line: rgba(26,24,20,0.10);     /* subtiele borders */
}

/* Zorgt dat padding/border mee in breedte/hoogte telt (minder layout bugs) */
*{ box-sizing:border-box; }

/* Smooth scroll bij anchor links (#contact enz.) */
html{ scroll-behavior:smooth; }

body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Images: nooit groter dan container, geen inline-gaten */
img{ display:block; max-width:100%; }

/* Links: standaard geen underline en dezelfde kleur als tekst */
a{ text-decoration:none; color:inherit; }

/* ===== Responsive helpers ===== */
.desktop-only{ display: flex; }
.mobile-only{ display: none; }

@media (max-width: 820px){
  .desktop-only{ display: none !important; }
  .mobile-only{ display: inline-flex !important; }

  /* op mobiel: grid zodat hamburger rechts past */
  .navbar{
    padding: 0 18px;
    grid-template-columns: 1fr auto 1fr; /* logo blijft mooi center */
  }
}

/* =========================
   NAVBAR (fixed + glass)
   ========================= */
.navbar{
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 72px;
  z-index: 50;

  display: grid;
  grid-template-columns: 1fr auto 1fr; /* links - logo - rechts */
  align-items: center;

  padding: 0 40px;

  background: rgba(10,10,10,0.18);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Links: knoppen naast elkaar */
.nav-left{
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Center: logo echt in het midden */
.nav-center{ justify-self: center; }

/* Rechts */
.nav-right{
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 28px;
}

/* Navbar links */
.nav-btn{
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  text-decoration: none;
}

.nav-btn:hover{
  border-bottom-color: rgba(255,255,255,0.7);
}

/* Rond logo “WG” */
.logo-mark{
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 999px;

  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.92);

  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;

  box-shadow: 0 10px 28px rgba(0,0,0,0.25);
  text-decoration: none;
}

/* Navbar scrolled state */
.navbar.scrolled{
  background: rgba(248,246,243,0.95);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.navbar.scrolled a{
  color: #1a1814;
}

/* =========================
   MOBILE MENU (hamburger + side menu)
   ========================= */

/* Hamburger: standaard verbergen (desktop) */
.hamburger{
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;

  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;

  margin-left: 10px;
}

.hamburger span{
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.92);
  border-radius: 2px;
}

/* Overlay */
.menu-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
  z-index: 60;
}

/* Side menu */
.side-menu{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(86vw, 360px);

  background: rgba(15,15,15,0.96);
  backdrop-filter: blur(10px);
  border-left: 1px solid rgba(255,255,255,0.08);

  transform: translateX(100%);
  transition: transform .22s ease;
  z-index: 70;

  padding: 18px 18px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-menu-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.side-title{
  color: rgba(255,255,255,0.92);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 12px;
}

.menu-close{
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.92);
  font-size: 20px;
  cursor: pointer;
}

.side-link{
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.6px;
  text-transform: uppercase;

  padding: 12px 10px;
  border-radius: 12px;
}
.side-link:hover{
  background: rgba(255,255,255,0.08);
}

/* Open state */
.menu-open .menu-overlay{
  opacity: 1;
  pointer-events: auto;
}
.menu-open .side-menu{
  transform: translateX(0);
}

/* =========================
   MOBILE BEHAVIOR
   ========================= */
@media (max-width: 768px){

  /* Logo perfect gecentreerd: nav-left blijft ruimte innemen maar is onzichtbaar */
  .nav-left{
    visibility: hidden;
  }

  /* Atelier link weg op mobiel (menu zit in side menu) */
  .desktop-link{
    display: none !important;
  }

  /* Hamburger tonen op mobiel */
  .hamburger{
    display: inline-flex;
  }
}

/* Hamburger wordt donker wanneer navbar scrolled is */
.navbar.scrolled .hamburger span{
  background: #1a1814;
}


/* =========================
   PAGE HERO
   Doel: mooie header met foto + donkere overlay + fade naar achtergrond
   ========================= */
.page-hero{
  padding-top:72px;                         /* ruimte voor fixed navbar */
  min-height:62vh;
  display:grid;
  place-items:center;
  position:relative;
  overflow:hidden;

  background: url("Public/img/Algemeen/Foto_Homepage.jpg") center/cover no-repeat;
}

/* Donkere overlay zodat tekst leesbaar blijft */
.page-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(26,24,20,0.78),
    rgba(26,24,20,0.55)
  );
}

/* Fade onderaan naar paper kleur (smooth overgang) */
.page-hero::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height:90px;
  background: linear-gradient(to bottom, rgba(0,0,0,0), var(--paper));
  pointer-events:none;
}

.page-hero-inner{
  position:relative;
  z-index:1;                               /* boven overlay */
  max-width:1100px;
  margin:0 auto;
  padding: 78px 24px 60px;
  text-align:center;
  color:#fff;
}

.page-hero-inner h1{
  margin:0 0 10px;
  font-size: clamp(40px, 5.2vw, 70px);
  letter-spacing: 0.5px;
}

.page-hero-inner p{
  margin:0;
  opacity:0.92;
  letter-spacing: 0.6px;
}

/* =========================
   ASSORTIMENT START (CATEGORIES)
   Doel: categorie-tegels (2 per rij)
   ========================= */
.assortiment-start{
  max-width:1100px;
  margin:0 auto;
  padding: 40px 24px 30px;
}

.start-head h2{
  margin:0 0 6px;
  font-size:34px;
}
.start-head p{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.6;
}

.cat-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap:24px;
}

.cat-tile{
  border-radius:18px;
  overflow:hidden;
  background: rgba(255,255,255,0.95);
  border:1px solid var(--line);
  box-shadow:0 18px 55px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.cat-media{
  height:260px;
  background: rgba(26,24,20,0.06);
  display:grid;
  place-items:center;
  overflow:hidden;
}

/* PNG’s altijd volledig zichtbaar (geen afsnijden) */
.cat-media img{
  width:100%;
  height:100%;
  object-fit: contain;
  object-position: center;
  padding:22px;
}

.cat-label{
  padding:18px;
  font-weight:900;
  letter-spacing:1.4px;
  text-transform: uppercase;
  font-size:14px;
}

.cat-tile:hover{
  transform: translateY(-3px);
  box-shadow: 0 22px 70px rgba(0,0,0,0.12);
}

/* =========================
   CTA
   Doel: call-to-action blok onderaan
   ========================= */
.cta{
  max-width:1100px;
  margin: 34px auto 0;
  padding: 0 24px 70px;
}

.cta-inner{
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--line);
  background: rgba(26,24,20,0.06);
  padding:44px 28px;
  text-align:center;
}

.cta-inner h2{
  margin:0 0 10px;
  font-size:30px;
}

.cta-inner p{
  margin:0 auto 18px;
  max-width:650px;
  color:var(--muted);
  line-height:1.6;
}

.cta-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* Buttons */
.btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:999px;
  font-weight:900;
  letter-spacing:0.8px;
  text-transform:uppercase;
  font-size:12px;
  background: var(--ink);
  color:#fff;
}
.btn-ghost{
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border: 1px solid rgba(26,24,20,0.20);
}

/* =========================
   CONTACT BLOCK
   Doel: contact + openingsuren cards
   ========================= */
.contact-block{
  padding: 64px 24px;
}

.contact-wrap{
  max-width: 1100px;
  margin: 0 auto;
}

.contact-head h2{
  margin: 0 0 6px 0;
  font-size: 34px;
}
.contact-head p{
  margin: 0 0 22px 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* links info, rechts uren */
  gap: 18px;
}

.contact-card{
  border-radius: 18px;
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  box-shadow: 0 18px 55px rgba(0,0,0,0.08);
  padding: 20px;
}

.contact-card h3{
  margin: 0 0 14px 0;
  font-size: 18px;
  letter-spacing: 0.6px;
}

.contact-list{
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}

/* 2 kolommen: label + value */
.contact-list li{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(26,24,20,0.08);
}
.contact-list li:last-child{ border-bottom: 0; }

.contact-list .label{
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-size: 11px;
  opacity: 0.8;
}

.contact-list .value a{
  border-bottom: 1px solid rgba(26,24,20,0.25);
}

.contact-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Openingsuren: 2 kolommen (winkel + koffiebar) */
.hours-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 10px;
}

.hours-col{
  border: 1px solid rgba(26,24,20,0.08);
  border-radius: 14px;
  padding: 14px;
  background: rgba(26,24,20,0.03);
}

.hours-title{
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-size: 12px;
  margin-bottom: 10px;
}

.hours{
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours li{
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(26,24,20,0.08);
  font-size: 14px;
}
.hours li:last-child{ border-bottom: 0; }

.hours li span:first-child{
  font-weight: 900;
  width: 28px;
}

.hours-note{
  margin: 14px 0 0 0;
  font-size: 12px;
  color: rgba(26,24,20,0.70);
  line-height: 1.55;
}

/* =========================
   FOOTER
   ========================= */
.footer{
  padding: 28px 24px;
  border-top: 1px solid rgba(26,24,20,0.10);
  background: rgba(255,255,255,0.65);
}

/* Desktop layout */
.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: rgba(26,24,20,0.75);
  text-align: center;
}

.footer-inner a{
  color: rgba(26,24,20,0.75);
  text-decoration: none;
}
.footer-inner a:hover{
  text-decoration: underline;
}

.footer-legal{
  margin-top: 10px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(26,24,20,0.55);
}

.footer-legal a{
  color: rgba(26,24,20,0.55);
  text-decoration: none;
}
.footer-legal a:hover{
  text-decoration: underline;
}

/* =========================
   MOBILE OPTIMALISATIE
   ========================= */
@media (max-width: 768px){

  .footer{
    padding: 32px 18px;
  }

  /* Hoofdtekst onder elkaar */
  .footer-inner{
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
  }

  /* Puntjes verbergen op mobiel */
  .footer .dot{
    display: none;
  }

  /* Legal links rustiger & leesbaarder */
  .footer-legal{
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
  }
}


/* =========================
   TO TOP BUTTON
   ========================= */
.to-top{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;

  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(26,24,20,0.65);
  color: rgba(255,255,255,0.95);

  display: grid;
  place-items: center;
  cursor: pointer;

  z-index: 9999;
  backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.to-top.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover{
  background: rgba(26,24,20,0.85);
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 980px){
  .navbar{ padding: 0 22px; }
  .cat-media{ height: 230px; }

  /* ✅ overgenomen uit je “900px” block (dus niet dubbel) */
  .contact-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 640px){
  .navbar{ padding: 0 18px; }
  .cat-grid{ grid-template-columns: 1fr; }
  .cat-media{ height: 200px; }

  .page-hero{ min-height: 52vh; }
  .page-hero-inner{ padding: 62px 18px 52px; }

  /* ✅ overgenomen uit je extra “640px” block (dus niet dubbel) */
  .hours-grid{ grid-template-columns: 1fr; }
}